package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
@Getter@Setter
public class Stock {
    private Long id;
    private Long productId;
    private BigDecimal number;//库存数量
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date checkDate;//最近盘点时间
    private String productname;
    private Long sn;//商品编号
    private String productsortname;//分类
    private BigDecimal newnumber;//盘点差异
}